package ace.cmp.spring.data.jdbc.querydsl.core.annotations;

import ace.cmp.spring.data.jdbc.querydsl.core.QuerydslLogicNotDeleteFlagValueGetter;
import ace.cmp.spring.data.jdbc.querydsl.core.impl.QuerydslLogicNotDeleteFlagValueGetterImpl;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author caspar
 * @date 2023/8/25 16:52 逻辑代表不删除的标志值
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface LogicDelete {
  Class<? extends QuerydslLogicNotDeleteFlagValueGetter> logicNotDeleteValueGetter() default
      QuerydslLogicNotDeleteFlagValueGetterImpl.class;
}
